home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / BOOPSI / led_ic / led_ic.doc < prev    next >
Encoding:
Text File  |  1994-03-30  |  1.7 KB  |  56 lines

  1. TABLE OF CONTENTS
  2.  
  3. led.image/--datasheet--
  4. led.image/--datasheet--                               led.image/--datasheet--
  5.  
  6.      NAME
  7.         led.image--Simulated LED display image.                 (V42)
  8.  
  9.      SUPERCLASS
  10.         imageclass
  11.  
  12.      DESCRIPTION
  13.         The led.image image class provides a simulated LED image display.
  14.  
  15.      METHODS
  16.         OM_NEW--Create the LED image.  Passed to superclass, then OM_SET.
  17.  
  18.         OM_SET--Set object attributes.  Passed to superclass first.
  19.  
  20.         OM_UPDATE--Set object notification attributes.  Passed to superclass
  21.             first.
  22.  
  23.         IM_DRAW--Renders the images.  Overrides the superclass.
  24.  
  25.         All other methods are passed to the superclass, including OM_DISPOSE.
  26.  
  27.      ATTRIBUTES
  28.         SYSIA_DrawInfo (struct DrawInfo *) -- Contains important pen
  29.             information.  This is required if IA_BGPen and IA_FGPen are
  30.             not specified.
  31.  
  32.         IA_FGPen (LONG) -- Pen to use to draw the lit segments.  If -1
  33.             is specified then TEXTPEN is used.
  34.  
  35.         IA_BGPen (LONG) -- Pen to use to draw the unlit segments or
  36.             background.  If -1 is specified then BACKGROUNDPEN is used.
  37.  
  38.         IA_Width (LONG) -- Width of the image.
  39.  
  40.         IA_Height (LONG) -- Height of the image.
  41.  
  42.         LED_Pairs (LONG) -- Number of pairs of digits.
  43.  
  44.         LED_Values (WORD *) -- Array of values.  One entry per pair
  45.             is required.
  46.  
  47.         LED_Colon (BOOL) -- Is the colon between pairs lit or not.
  48.             Defaults to FALSE.
  49.  
  50.         LED_Signed (BOOL) -- Leave room for a negative sign or
  51.             not.  Defaults to FALSE.
  52.  
  53.         LED_Negative (BOOL) -- Is the negative sign lit or not.
  54.             Defaults to FALSE.
  55.  
  56.